package com.example.administrator.mail_list;

import android.content.Context;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

public class StuViewHolder extends RecyclerView.ViewHolder {
    //view用于Adapter里的点击事件
    View view;
    TextView numView;
    ImageView imgView;
    TextView nameView;
    TextView ageView;
    ImageView delStu;

    public StuViewHolder(@NonNull View itemView) {
        super(itemView);

        this.view = itemView;

        numView = view.findViewById(R.id.numView);
        imgView = view.findViewById(R.id.imgView);
        nameView = view.findViewById(R.id.nameView);
        ageView = view.findViewById(R.id.ageView);
        delStu = view.findViewById(R.id.btn_del);
    }
}
